from os.path import exists, isfile, isdir

if __name__ == '__main__':
    print(exists(r"D:\spider\st21092110\chapter3\src"))
    print(isfile(r"D:\spider\st21092110\chapter3\src"))
    print(isdir(r"D:\spider\st21092110\chapter3\src"))

